package com.hk.employeemanagementsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hk.employeemanagementsystem.entity.DepartmentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author by 何坤
 * @Classname DepartmentEntityMapper
 * @Description TODO
 * @Date 2020/2/7 17:49
 */
@Mapper
public interface DepartmentEntityMapper extends BaseMapper<DepartmentEntity> {
    List<DepartmentEntity> getDepartment();
    void addDepartment(@Param("dep") DepartmentEntity departmentEntity);
    void deleteDepartment(@Param("dep") DepartmentEntity departmentEntity);
}
